﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class car
    {
        private string brand;

        public string Brand { get => brand; set => brand = value; }

        public car(string brand) 
        {
            this.Brand = brand;
        }

        public void ability() 
        {
            Console.WriteLine("高速行驶");
        }




    }
}
